package com.flyee.communicate.character{
	
	import com.flyee.communicate.Handler;
	import com.flyee.io.socket.command.down.CommandDown;
	import com.flyee.ro.commanddown.QuitRoomDown;
	import com.flyee.utils.Obsevable;

	public class QuitRoomHandler extends Obsevable implements Handler{
		
		public function QuitRoomHandler(){
			super();
		}
		
		public function process(cmd:CommandDown):void{
			var command : QuitRoomDown = cmd as QuitRoomDown;
	        
	        setChanged();	        
	        notifyObsevers("quitRoom", command.avatarId);
		}
		
	}
}